package com.example.mydesignmodule.zhongjiezhe;

/**
 * @author tgw
 * @date 2021/3/9
 * @describe
 */
class AnJianColleage extends AbColleague {

    private int screenSize;//屏幕大小型号

    public AnJianColleage(AbZhongJieZhe abZhongJieZhe) {
        super(abZhongJieZhe);
    }

    public int getScreenSize() {
        return screenSize;
    }

    public void setScreenSize(int screenSize) {
        this.screenSize = screenSize;
        System.out.println("键盘知道了屏幕型号为："+screenSize);
        System.out.println("屏幕型号知道就可以生产按键了");
        abZhongJieZhe.change(this);
    }
}
